package com.ls.fw.hadoop.client.bean;

public class NameNodeInfo {
	 private String name;
	 private String ip;
	 private boolean isDead = false;
	 private String version;
	 private String startTime;
	 private String complied;
	 private String clusterId;
	 private String blockPoolId;
	 
	 
	 
	public NameNodeInfo(String name, String ip) {
		super();
		this.name = name;
		this.ip = ip;
	}
	public NameNodeInfo(String name, String ip, boolean isDead, String version,
			String startTime, String complied, String clusterId,
			String blockPoolId) {
		super();
		this.name = name;
		this.ip = ip;
		this.isDead = isDead;
		this.version = version;
		this.startTime = startTime;
		this.complied = complied;
		this.clusterId = clusterId;
		this.blockPoolId = blockPoolId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public boolean isDead() {
		return isDead;
	}
	public void setDead(boolean isDead) {
		this.isDead = isDead;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getComplied() {
		return complied;
	}
	public void setComplied(String complied) {
		this.complied = complied;
	}
	public String getClusterId() {
		return clusterId;
	}
	public void setClusterId(String clusterId) {
		this.clusterId = clusterId;
	}
	public String getBlockPoolId() {
		return blockPoolId;
	}
	public void setBlockPoolId(String blockPoolId) {
		this.blockPoolId = blockPoolId;
	}
	@Override
	public String toString() {
		return "NameNodeInfo [blockPoolId=" + blockPoolId + ", clusterId="
				+ clusterId + ", complied=" + complied + ", ip=" + ip
				+ ", isDead=" + isDead + ", name=" + name + ", startTime="
				+ startTime + ", version=" + version + "]";
	}
	 
	 
	 
	 
	 
}
